<%--
  Created by IntelliJ IDEA.
  User: du'zhi'yuan
  Date: 2022/5/9
  Time: 10:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理系统</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico" />

</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black"><a href="${pageContext.request.contextPath}/admin/main" style="color:white;">后台管理系统</a></div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                <a href="javascript:;">
                    <img src="../images/default_user_photo.jpg" class="layui-nav-img">
                    ${sessionScope.adminUser.nickName}
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="${pageContext.request.contextPath }/ExitServlet">退出</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-more-vertical"></i>
                </a>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item">
                    <a href="javascript:;">用户管理</a>
                    <dl class="layui-nav-child">
                        <dd><a target="main" href="${pageContext.request.contextPath }/admin/student_list_admin">学生列表</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">班级管理</a>
                    <dl class="layui-nav-child">
                        <dd><a target="main" href="${pageContext.request.contextPath }/admin/clazz_list_admin">班级列表</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">管理员管理</a>
                    <dl class="layui-nav-child">
                        <dd><a target="main" href="${pageContext.request.contextPath }/admin/user_list_admin">管理员列表</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 页面嵌套标签 -->
        <iframe name="main" width="100%" height="100%" src="${pageContext.request.contextPath }/admin/welcome"></iframe>
    </div>

    <div class="layui-footer">
        版权所有 &copy; 后台管理系统&nbsp;&nbsp;1542043226@qq.com
    </div>
</div>
<script src="${pageContext.request.contextPath}/layui/layui.js"></script>
<script>
</script>
</body>
</html>
